<template>
	<view id="WorkOrderProgress">
		工单进度
		<uni-steps :options="list2" active-color="#007AFF" :active="num" direction="column" />
	</view>
</template>

<script setup>
	import {
		onLoad
	} from '@dcloudio/uni-app'
import { ref } from "vue";
	let list2 = [{
		title: '维修员已报完成',
		desc: '2018-11-11'
	}, {
		title: '待评价',
		desc: '2018-11-12'
	}, {
		title: '维修中',
		desc: '2018-11-13',
		
	}, {
		title: '已经接单',
		desc: '2018-11-14'
	}]
	let num=ref(0)
	onLoad((option) => {
		num.value=option.num*1
	})
</script>

<style lang="scss">
	#WorkOrderProgress {
		height: calc(100vh - 44px);
		padding: 20rpx;
		box-sizing: border-box;
		background-color: #f4f6f9;
	}
</style>